package cn.com.callback

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import cn.com.elite.EliteBean;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import cn.com.elite.Util;

/**
 * 功能介绍：定时调用此接口，同步短信发送状态（个性化
 */

public class SW_SMS_PL_Result implements ServiceBackInvoke{
	private static final Log log=LogFactory.getLog(SW_SMS_PL_Result.class);
	public String doCallBack(EliteBean eliteBean,HttpServletRequest request,HttpServletResponse response){
		log.debug("SW_SMS_PL_Result调用存储过程处理...");
		def procedure="{call Dbo.SW_SMS_PL_Result(?,?)}";
		def inputMap = new String[1];
		inputMap[0] = "SW_SMS_PL_Result";

		log.debug("SW_SMS_PL_Result调用存储过程处理SQL:" + procedure);
		def reSult = eliteBean.executeWithReturn(procedure, inputMap, 'dataSource');
		log.debug("SW_SMS_PL_Result调用存储过程处理返回:" + reSult)
	}
}